<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}父模板标题{% endblock %}</title>
</head>
<body>
    {% block body %}
        父模板body
    {% endblock %}
</body>
</html>